package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.ContractItemDTO;

public interface ContractItemService {

    List<ContractItemDTO> findAll();

    Page<ContractItemDTO> search(Pageable pageable, Searchable searchable);

    ContractItemDTO create(ContractItemDTO dto);

    ContractItemDTO details(Long id);

    void delete(Long id);

    ContractItemDTO update(Long id, ContractItemDTO dto);

}
